package org.lanqiao.ssm.common.quartz.jobManage;

import java.text.SimpleDateFormat;
import java.util.Date;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;
/**
 * 任务二
 */
public class QuartzTwo extends QuartzJobBean {

	@Override
	protected void executeInternal(JobExecutionContext arg0)
			throws JobExecutionException {
		System.out.println("任务二"+
				new SimpleDateFormat("yyyy-MM-dd HH:mm:ss ").format(new Date()));
	}

}
